package com.zhou.bjgl.bjgl.resp;

import java.util.List;

/**
 * @ClassName: PageReq
 * @Description:
 * @Author: admin
 * @Date: 2021/7/7 14:31
 */
public class PageResp<T> {
    private Long total;

    private List<T> PageList;

    public PageResp() {
    }

    public PageResp(Long total, List<T> pageList) {
        this.total = total;
        PageList = pageList;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getPageList() {
        return PageList;
    }

    public void setPageList(List<T> pageList) {
        PageList = pageList;
    }

    @Override
    public String toString() {
        return "PageResp{" +
                "total=" + total +
                ", PageList=" + PageList +
                '}';
    }
}
